﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Common
{
    /// <summary>
    /// 返回状态码枚举
    /// </summary>
    public enum StatusCodeEnum
    {
        [Description("成功")]
        Ok = 200,

        [Description("失败")]
        Fail = 500,

        [Description("数据已存在")]
        DataExist = 501,

        [Description("数据不存在")]
        DataNotExist = 502,

        [Description("参数错误")]
        ParamError = 403,

        [Description("用户被禁用")]
        UserDisable = 405,
    }
}
